package com.atjinggu.jinggumail.cart.interceptor;

import org.springframework.core.annotation.Order;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author jingming
 * @Type TestFilter.java
 * @Desc
 * @date 2021/3/5 14:52
 */
@Order(1)
public class TestFilter implements Filter {
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("*********************filter1");
        filterChain.doFilter(servletRequest, servletResponse);
    }
}